Update mypy to 1.16.0#14194
Merged
AlexWaygood merged 10 commits intomainfrom Jun 1, 2025
Merged
Conversation
Member
Author
>>> import types
>>> types.SimpleNamespace
<class 'types.SimpleNamespace'>
>>> types.SimpleNamespace.__setattr__
<slot wrapper '__setattr__' of 'types.SimpleNamespace' objects>
|
Collaborator
|
Maybe from python/mypy#18325 |
This comment has been minimized.
This comment has been minimized.
srittau
added a commit
to srittau/typeshed
that referenced
this pull request
May 30, 2025
Add a `# type: ignore`. Helps with python#14194
srittau
added a commit
to srittau/typeshed
that referenced
this pull request
May 30, 2025
Should help with python#14194
srittau
added a commit
to srittau/typeshed
that referenced
this pull request
May 30, 2025
Should help with python#14194
srittau
added a commit
to srittau/typeshed
that referenced
this pull request
May 30, 2025
Helps with python#14194
srittau
added a commit
to srittau/typeshed
that referenced
this pull request
May 30, 2025
Should help with python#14194
srittau
added a commit
to srittau/typeshed
that referenced
this pull request
May 30, 2025
* Add a few `Self` return annotations. * Add a few `# type: ignore[override]`. * Add a few `@deprecated` annotations. Should help with python#14194
srittau
added a commit
to srittau/typeshed
that referenced
this pull request
May 30, 2025
Should help with python#14194
Member
Author
|
I don't have a capacity for this right now, sorry :( |
JelleZijlstra
pushed a commit
that referenced
this pull request
May 31, 2025
Should help with #14194
JelleZijlstra
pushed a commit
that referenced
this pull request
May 31, 2025
* Add a few `Self` return annotations. * Add a few `# type: ignore[override]`. * Add a few `@deprecated` annotations. Should help with #14194
JelleZijlstra
pushed a commit
that referenced
this pull request
May 31, 2025
Should help with #14194
JelleZijlstra
pushed a commit
that referenced
this pull request
May 31, 2025
JelleZijlstra
pushed a commit
that referenced
this pull request
May 31, 2025
Should help with #14194
JelleZijlstra
pushed a commit
that referenced
this pull request
May 31, 2025
Add a `# type: ignore`. Helps with #14194
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Contributor
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
srittau
approved these changes
Jun 1, 2025
Collaborator
srittau
left a comment
There was a problem hiding this comment.
Thanks everybody! Good to see so many false mypy/stubtest errors to go away.
Member
Author
|
Thanks, everyone! I was too tired to fix this all by myself, awesome to have such a helpful community :) |
AlexWaygood
approved these changes
Jun 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let's see what will happen :)